using System;
using System.Collections.Generic;
using System.Text;
using Suucha.Common;
using Suucha.Account;
using Suucha.OrganizationUnit;
namespace Suucha.AdHelper
{
    public class OUInfo
    {
        private Guid id = Guid.Empty;

        public Guid Id
        {
            get
            {
                return id;
            }
            set
            {
                id = value;
            }
        }

        private string name = "";

        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

        private OUInfo parent;

        public OUInfo Parent
        {
            get
            {
                return parent;
            }
            set
            {
                parent = value;
            }
        }

        private List<OUInfo> children;

        public List<OUInfo> Children
        {
            get
            {
                return children;
            }
            set
            {
                children = value;
            }
        }

        private List<UserInfo> users;

        public List<UserInfo> Users
        {
            get
            {
                return users;
            }
            set
            {
                users = value;
            }
        }

        public override string ToString()
        {
            return name;
        }

    }
}
